package com.xipu.read;

import com.alibaba.excel.EasyExcel;
import com.xipu.entity.Student;
import com.xipu.read.listener.ExcelListener;


import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * description: ReadExcel
 * @author: gql
 * @date: 2021/11
 */
public class ReadExcel {
    public static void main(String[] args) {
        String fileName = "D:\\01.xlsx";
        EasyExcel.read(fileName, Student.class, new ExcelListener())
                .sheet()
                .doRead();
    }
}


